package net.jlnx.Uebung5_1.main;

import net.jlnx.Uebung5_1.data.SortableElement;
import net.jlnx.Uebung5_1.util.SortHelper;

public class SortStarter {

	public static void main(String[] args) {
		SortableElement[] ys = { new SortableElement(1, 2),
				new SortableElement(4, 2), new SortableElement(3, 5),
				new SortableElement(1, 6) };

		SortHelper.bubbleSort(ys);

		for (SortableElement y : ys)
			System.out.println(y);
	}

}